package org.prophet.accessexcel.entities;

/**
 * @Description: TODO
 * @author: april
 * @date: 2020年12月23日 9:12
 */
public class Result<T> {
    private int responseCode;
    private String message;
    private T data;

    public Result(int result, String message, T data) {
        this.responseCode = result;
        this.message = message;
        this.data = data;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public Result() {
    }

    public int getResponseCode() {
        return responseCode;
    }

    public void setResponseCode(int responseCode) {
        this.responseCode = responseCode;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
